<!DOCTYPE html>
<html>
  <head>
    <title><%= title %></title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
  </head>
  <body>
    <h1 class="title"><%= appName %></h1>

    <ul class="photoList">

      <%photos.forEach(function(photo){%>
      <li>
        <p><%= photo.name%></p>
        <a href="<%= photo.path %>"><img src="<%= photo.path %>" alt="<%= photo.name %>"></a>
      </li>

      <%});%>
    </ul>

  </body>
</html>
